package com.heima.oopAdvanced.n01static.demo02;

public class TestDemo {
    public static void main(String[] args) {
        /**
         * 数组工具类
         * 1. printArr, 参数整型数组, 返回数组内容的字符串
         * 2. getAerage, 参数浮点数组, 返回平均分
         */
        int[] nums1 = {10, 20, 50, 34, 100};
        double[] nums2 = {10, 20, 50, 34, 100};
        System.out.println(ArrayUtil.printArr(nums1));
        System.out.println(ArrayUtil.getAerage(nums2));
    }
}
